//
//  SkillRollerController.h
//  Skill Roller
//
//  Created by John Bestoso on 9/2/08.
//
//  This file is part of Skill Roller.
//
//  Skill Roller is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either selectedVersion 3 of the License, or
//  (at your option) any later selectedVersion.
//
//  Skill Roller is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with Skill Roller.  If not, see <http://www.gnu.org/licenses/>.
//

#import <Cocoa/Cocoa.h>
#import "Skill.h"

@interface SkillRollerController : NSObject {

	NSArray * skills;
	Skill * selectedSkill;
	
	int roll0, roll1, roll2, roll3, roll4, roll5, roll6, roll7;
	int res0, res1, res2, res3, res4, res5, res6, res7;
	
	NSString * name0, * name1, * name2, *name3, *name4, * name5, *name6, *name7;
	
}

@property (assign) NSArray * skills;
@property (assign) Skill * selectedSkill;

@property (assign) int roll0;
@property (assign) int roll1;
@property (assign) int roll2;
@property (assign) int roll3;
@property (assign) int roll4;
@property (assign) int roll5;
@property (assign) int roll6;
@property (assign) int roll7;

@property (assign) int res0;
@property (assign) int res1;
@property (assign) int res2;
@property (assign) int res3;
@property (assign) int res4;
@property (assign) int res5;
@property (assign) int res6;
@property (assign) int res7;

@property (assign) NSString * name0;
@property (assign) NSString * name1;
@property (assign) NSString * name2;
@property (assign) NSString * name3;
@property (assign) NSString * name4;
@property (assign) NSString * name5;
@property (assign) NSString * name6;
@property (assign) NSString * name7;


- (void)rollSkill:(int)index;

- (void)rollAll;

// Stupid IBActions
- (IBAction)rollSkill0:(id)sender;
- (IBAction)rollSkill1:(id)sender;
- (IBAction)rollSkill2:(id)sender;
- (IBAction)rollSkill3:(id)sender;
- (IBAction)rollSkill4:(id)sender;
- (IBAction)rollSkill5:(id)sender;
- (IBAction)rollSkill6:(id)sender;
- (IBAction)rollSkill7:(id)sender;

@end
